package com.ziyun.pop.modules.quoteParts.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.pop.modules.quoteParts.dao.ErpQuotePartsDao;
import com.ziyun.pop.modules.quoteParts.entity.QuotePartsEntity;
import com.ziyun.pop.modules.quoteParts.service.QuotePartsService;


@Service("quotePartsService")
public class QuotePartsServiceImpl extends ServiceImpl<ErpQuotePartsDao, QuotePartsEntity> implements QuotePartsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<QuotePartsEntity> page = (Page<QuotePartsEntity>) this.page(
                new Query<QuotePartsEntity>(params).getPage(),
                new QueryWrapper<QuotePartsEntity>()
        );

        return new PageUtils(page);
    }

}
